package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityService {
    PageResult<Activity> list(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);

    void deleteById(Integer id);


    void addActivity(Activity activity);


    Activity getById(Integer id);


    void Update(Activity activity);


    List<Activity> getByType(Integer type);
}
